package com.rgst.dao.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.rgst.dao.entity.Enroll;

/**
 * Created by tancw on 2019/11/24.
 */
public interface EnrollRepository extends JpaRepository<Enroll,Long>,JpaSpecificationExecutor<Enroll> {

    List<Enroll> findAllByUserId(Long userId);
}
